Display Name = "Medal Queen's Castle"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    ShowTextAttributes(["slime_fc1", 0, 0, 2])
    ShowText(["\\n<Slime Girl>"])
    ShowText(["The Medal King is also very kind."])
    ShowText(["He's good at fishing and cooks various fish for us."])
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    Empty([])

CommonEvent 13
Name = "EV013"

  Page 0
    Empty([])

CommonEvent 14
Name = "EV014"

  Page 0
    Empty([])

CommonEvent 15
Name = "EV015"

  Page 0
    Empty([])

CommonEvent 16
Name = "EV016"

  Page 0
    Empty([])

CommonEvent 17
Name = "EV017"

  Page 0
    Script(["gain_medal(12)"])
    ShowPicture([5, "80_grandnoa_st11", 0, 0, 0, 0, 100, 100, 0, 0])
    MovePicture([5, nil, 0, 0, 0, 0, 100, 100, 255, 0, 30, true])
    ShowTextAttributes(["grandnoa_fc1", 3, 0, 2])
    ShowText(["\\n<Medal Queen>"])
    ShowText(["I am the mysterious Medal Queen..."])
    ShowText(["According to the number of medals, I will grant you precious treasures."])
    CallCommonEvent([8])
    Empty([])

  Page 1
    Empty([])

  Page 2
    Empty([])

CommonEvent 18
Name = "EV018"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 287, 338, 272, 0, 0])
    Empty([])

CommonEvent 19
Name = "EV019"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 287, 338, 272, 0, 0])
    Empty([])

CommonEvent 20
Name = "EV020"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 287, 338, 272, 0, 0])
    Empty([])

CommonEvent 21
Name = "EV021"

  Page 0
    ConditionalBranch([12, "unlock_level < 1"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1395, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 22
Name = "EV022"

  Page 0
    ConditionalBranch([12, "unlock_level < 2"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeArmor([1281, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 23
Name = "EV023"

  Page 0
    ShowTextAttributes(["slime_fc1", 0, 0, 2])
    ShowText(["\\n<Slime Girl>"])
    ShowText(["Small medals can be found under flowers and in flower pots."])
    ShowText(["That's why I was searching around the castle..."])
    ShowTextAttributes(["slime_fc1", 0, 0, 2])
    ShowText(["\\n<Slime Girl>"])
    ShowText(["The Medal Queen secretly hid them for us, didn't she?"])
    ShowText(["I just noticed it recently."])
    ConditionalBranch([1, 1143, 0, 25, 1])
      ShowTextAttributes(["slime_fc1", 0, 0, 2])
      ShowText(["\\n<Slime Girl>"])
      ShowText(["So now, I'm secretly hiding medals myself."])
      ShowText(["It's quite a challenge, but will everyone be able to find them~?"])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 25
Name = "EV025"

  Page 0
    ShowTextAttributes(["slime_fc1", 0, 0, 2])
    ShowText(["\\n<Slime Girl>"])
    ShowText(["Welcome to the Medal Queen's castle!"])
    ShowText(["Here, you can exchange small medals for various items."])
    ConditionalBranch([1, 1303, 0, 3, 2])
      ShowTextAttributes(["slime_fc1", 0, 0, 2])
      ShowText(["\\n<Slime Girl>"])
      ShowText(["But, the Queen is currently resting."])
      ShowText(["Right now, the Medal King is taking her place!"])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 26
Name = "EV026"

  Page 0
    ConditionalBranch([1, 1143, 0, 24, 2])
      ConditionalBranch([1, 1303, 0, 3, 2])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["\\n<Well-Dressed Man>"])
        ShowText(["I wonder where the Medal Queen has gone..."])
        ShowText(["The Slime Girls seem lonely too, so I hope she returns soon."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([1, 1303, 0, 4, 1])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["\\n<Well-Dressed Man>"])
        ShowText(["The Medal Queen, who had been away from the castle for a while, has come back."])
        ShowText(["She always seems busy, but I wonder what kind of person she is...?"])
        Script(["actor_label_jump"])
        ExitEventProcessing([])
        Label(["533"])
        ShowTextAttributes(["grandnoa_fc1", 0, 0, 2])
        ShowText(["\\n<Queen Grand Noah>"])
        ShowText(["I am the mysterious Medal Queen..."])
        ShowText(["I am nothing special."])
        ExitEventProcessing([])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1143, 0, 25, 1])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Well-Dressed Man>"])
      ShowText(["The world has become peaceful, and I can finally relax."])
      ShowText(["Now I can go on an adventure to collect medals."])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 27
Name = "EV027"

  Page 0
    ControlSwitches([3455, 3455, 0])
    ConditionalBranch([1, 1303, 0, 3, 2])
      ConditionalBranch([2, "A", 1])
        ControlSelfSwitch(["A", 0])
        ShowTextAttributes(["People4", 0, 0, 2])
        ShowText(["\\n<King of Medals>"])
        ShowText(["The Medal Queen is away due to her busy schedule."])
        ShowText(["In her place, I will handle the duties."])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    ShowTextAttributes(["People4", 0, 0, 2])
    ShowText(["\\n<King of Medals>"])
    ShowText(["Now, let me bestow precious items in exchange for medals."])
    ShowText(["In addition to small medals, we also handle large medals."])
    ShowChoices([["Exchange for a big medal", "Exchange for a small medal", "No business"], 3])
    When([0, "大きなメダルを交換する"])
      CallCommonEvent([137])
      Empty([])

    When([1, "小さなメダルを交換する"])
      CallCommonEvent([140])
      Empty([])

    When([2, "用はない"])
      Empty([])

    ChoicesEnd([])
    Empty([])

CommonEvent 29
Name = "EV029"

  Page 0
    ConditionalBranch([1, 1143, 0, 24, 2])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Well-Dressed Woman>"])
      ShowText(["Since the world united, large medals have been circulating."])
      ShowText(["I was surprised by their sheer size."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1143, 0, 25, 1])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Well-Dressed Woman>"])
      ShowText(["What exactly are these medals scattered across the world?"])
      ShowText(["It's incredible that they are all of the same standard and have spread so far..."])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 30
Name = "EV030"

  Page 0
    ConditionalBranch([1, 1303, 0, 3, 2])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Guard>"])
      ShowText(["You wish to have an audience with the King of Medals?"])
      ShowText(["Please, proceed as you are."])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1303, 0, 4, 1])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["\\n<Guard>"])
      ShowText(["You wish to have an audience with both the Medal Queen and the King of Medals?"])
      ShowText(["Please, proceed as you are."])
      Empty([])

    BranchEnd([])
    Empty([])

CommonEvent 31
Name = "EV031"

  Page 0
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["\\n<Guard>"])
    ShowText(["The King of Medals is said to actually be a ghost."])
    ShowText(["I don't quite understand it, but I will simply fulfill my duty."])
    Empty([])

CommonEvent 32
Name = "EV032"

  Page 0
    ConditionalBranch([1, 1143, 0, 24, 2])
      ConditionalBranch([1, 1303, 0, 3, 2])
        ShowTextAttributes(["slime_fc1", 0, 0, 2])
        ShowText(["\\n<Slime Girl>"])
        ShowText(["I hope the Medal Queen returns soon~."])
        Empty([])
      BranchEnd([])
      ConditionalBranch([1, 1303, 0, 4, 1])
        ShowTextAttributes(["slime_fc1", 0, 0, 2])
        ShowText(["\\n<Slime Girl>"])
        ShowText(["The Medal Queen has returned~!"])
        ShowText(["Yesterday, we went on a picnic together♪"])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1143, 0, 25, 1])
      ShowTextAttributes(["slime_fc1", 0, 0, 2])
      ShowText(["\\n<Slime Girl>"])
      ShowText(["I want to go play in the back mountains of Iliasville~♪"])
      Empty([])

    BranchEnd([])
    Empty([])
